<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>OpenSSL 函数</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="openssl.cert.verification.html">Certificate Verification</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.openssl-cipher-iv-length.html">openssl_cipher_iv_length</a></div>
 <div class="up"><a href="book.openssl.html">OpenSSL</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="ref.openssl" class="reference">
 <h1 class="title">OpenSSL 函数</h1>

 










































































































































































































































































































<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="function.openssl-cipher-iv-length.html">openssl_cipher_iv_length</a> — Gets the cipher iv length</li><li><a href="function.openssl-csr-export-to-file.html">openssl_csr_export_to_file</a> — Exports a CSR to a file</li><li><a href="function.openssl-csr-export.html">openssl_csr_export</a> — Exports a CSR as a string</li><li><a href="function.openssl-csr-get-public-key.html">openssl_csr_get_public_key</a> — Returns the public key of a CERT</li><li><a href="function.openssl-csr-get-subject.html">openssl_csr_get_subject</a> — Returns the subject of a CERT</li><li><a href="function.openssl-csr-new.html">openssl_csr_new</a> — Generates a CSR</li><li><a href="function.openssl-csr-sign.html">openssl_csr_sign</a> — Sign a CSR with another certificate (or itself) and generate a certificate</li><li><a href="function.openssl-decrypt.html">openssl_decrypt</a> — Decrypts data</li><li><a href="function.openssl-dh-compute-key.html">openssl_dh_compute_key</a> — Computes shared secret for public value of remote DH key and local DH key</li><li><a href="function.openssl-digest.html">openssl_digest</a> — Computes a digest</li><li><a href="function.openssl-encrypt.html">openssl_encrypt</a> — Encrypts data</li><li><a href="function.openssl-error-string.html">openssl_error_string</a> — Return openSSL error message</li><li><a href="function.openssl-free-key.html">openssl_free_key</a> — Free key resource</li><li><a href="function.openssl-get-cipher-methods.html">openssl_get_cipher_methods</a> — Gets available cipher methods</li><li><a href="function.openssl-get-md-methods.html">openssl_get_md_methods</a> — Gets available digest methods</li><li><a href="function.openssl-get-privatekey.html">openssl_get_privatekey</a> — 别名 openssl_pkey_get_private</li><li><a href="function.openssl-get-publickey.html">openssl_get_publickey</a> — 别名 openssl_pkey_get_public</li><li><a href="function.openssl-open.html">openssl_open</a> — Open sealed data</li><li><a href="function.openssl-pbkdf2.html">openssl_pbkdf2</a> — Generates a PKCS5 v2 PBKDF2 string, defaults to SHA-1</li><li><a href="function.openssl-pkcs12-export-to-file.html">openssl_pkcs12_export_to_file</a> — Exports a PKCS#12 Compatible Certificate Store File</li><li><a href="function.openssl-pkcs12-export.html">openssl_pkcs12_export</a> — Exports a PKCS#12 Compatible Certificate Store File to variable.</li><li><a href="function.openssl-pkcs12-read.html">openssl_pkcs12_read</a> — Parse a PKCS#12 Certificate Store into an array</li><li><a href="function.openssl-pkcs7-decrypt.html">openssl_pkcs7_decrypt</a> — Decrypts an S/MIME encrypted message</li><li><a href="function.openssl-pkcs7-encrypt.html">openssl_pkcs7_encrypt</a> — Encrypt an S/MIME message</li><li><a href="function.openssl-pkcs7-sign.html">openssl_pkcs7_sign</a> — Sign an S/MIME message</li><li><a href="function.openssl-pkcs7-verify.html">openssl_pkcs7_verify</a> — Verifies the signature of an S/MIME signed message</li><li><a href="function.openssl-pkey-export-to-file.html">openssl_pkey_export_to_file</a> — Gets an exportable representation of a key into a file</li><li><a href="function.openssl-pkey-export.html">openssl_pkey_export</a> — Gets an exportable representation of a key into a string</li><li><a href="function.openssl-pkey-free.html">openssl_pkey_free</a> — Frees a private key</li><li><a href="function.openssl-pkey-get-details.html">openssl_pkey_get_details</a> — Returns an array with the key details</li><li><a href="function.openssl-pkey-get-private.html">openssl_pkey_get_private</a> — Get a private key</li><li><a href="function.openssl-pkey-get-public.html">openssl_pkey_get_public</a> — Extract public key from certificate and prepare it for use</li><li><a href="function.openssl-pkey-new.html">openssl_pkey_new</a> — Generates a new private key</li><li><a href="function.openssl-private-decrypt.html">openssl_private_decrypt</a> — Decrypts data with private key</li><li><a href="function.openssl-private-encrypt.html">openssl_private_encrypt</a> — Encrypts data with private key</li><li><a href="function.openssl-public-decrypt.html">openssl_public_decrypt</a> — Decrypts data with public key</li><li><a href="function.openssl-public-encrypt.html">openssl_public_encrypt</a> — Encrypts data with public key</li><li><a href="function.openssl-random-pseudo-bytes.html">openssl_random_pseudo_bytes</a> — Generate a pseudo-random string of bytes</li><li><a href="function.openssl-seal.html">openssl_seal</a> — Seal (encrypt) data</li><li><a href="function.openssl-sign.html">openssl_sign</a> — Generate signature</li><li><a href="function.openssl-verify.html">openssl_verify</a> — Verify signature</li><li><a href="function.openssl-x509-check-private-key.html">openssl_x509_check_private_key</a> — Checks if a private key corresponds to a certificate</li><li><a href="function.openssl-x509-checkpurpose.html">openssl_x509_checkpurpose</a> — Verifies if a certificate can be used for a particular purpose</li><li><a href="function.openssl-x509-export-to-file.html">openssl_x509_export_to_file</a> — Exports a certificate to file</li><li><a href="function.openssl-x509-export.html">openssl_x509_export</a> — Exports a certificate as a string</li><li><a href="function.openssl-x509-free.html">openssl_x509_free</a> — Free certificate resource</li><li><a href="function.openssl-x509-parse.html">openssl_x509_parse</a> — Parse an X509 certificate and return the information as an array</li><li><a href="function.openssl-x509-read.html">openssl_x509_read</a> — Parse an X.509 certificate and return a resource identifier for
  it</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="openssl.cert.verification.html">Certificate Verification</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.openssl-cipher-iv-length.html">openssl_cipher_iv_length</a></div>
 <div class="up"><a href="book.openssl.html">OpenSSL</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
